import systemTheme from '@/utils/systemTheme'


export default function (time : number) {
	const system = uni.getStorageSync('theme')
	setTimeout(() => {
		uni.setNavigationBarColor(systemTheme[system].navigationBarStyle);
		//设置tabbar主题
		uni.setTabBarStyle(systemTheme[system].tabBarStyle)
	}, time)
}